package com.demo.listener;

import cn.lingyangwl.framework.mq.base.BaseMqMessage;
import lombok.*;

import java.io.Serializable;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmailMessage extends BaseMqMessage implements Serializable {
    private String content;

    @Override
    public String toString() {
        return "EmailMessage{" +
                "content='" + content + '\'' +
                ", msgId='" + msgId + '\'' +
                '}';
    }
}
